/*
 * adc.h
 *
 * Created: 04.06.2014 14:38:40
 *  Author: Lunar
 */ 


#ifndef ADC_H_
#define ADC_H_
#include <avr32/io.h>


extern volatile U32 adcBat, adcG;

void AdcInit(void);
#define AdcStartConversion()          AVR32_ADC.CR.start = 1


#endif /* ADC_H_ */